<HTML>

<HEAD>
	<TITLE>EETransfer Off-line documentation</TITLE>
</HEAD>

<BODY BACKGROUND="../pict/fond.gif" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#FF0000">

<TABLE WIDTH=598 BORDER=0 CELLPADDING=0 CELLSPACING=0>


<TR >
		<TD WIDTH=120 ALIGN="center" NOWRAP>
		<A HREF="mailto:mail@easter-eggs.com" >
		<IMG SRC="../pict/mailee.gif" ALT="Mail to EE" WIDTH=81 HEIGHT=19 BORDER=0>
		</A>
		</TD>

		<TD WIDTH=20 NOWRAP>
		</TD>
		
		<TD WIDTH=5 NOWRAP>
		</TD>
		
		<TD WIDTH=226  ALIGN="center" VALIGN="top" NOWRAP>
		<IMG SRC="../pict/logo.gif" WIDTH=100 HEIGHT=100 BORDER=0>
		</TD>


		<TD WIDTH=227 VALIGN="center" NOWRAP>
		<H1>EETransfer Off-line documentation</H1>
		<FONT SIZE=+2><B><A HREF="../docsum.html">Back to summary</A></B></FONT>
		</TD>
		


</TR>

<TR >
		<TD WIDTH=120 >
		</TD>

		<TD WIDTH=20 >
		</TD>
		
		<TD WIDTH=5>
		</TD>

		<TD WIDTH=453  COLSPAN=2>
		<IMG SRC="../pict/bbar.gif" WIDTH=453 HEIGHT=30 BORDER=0>
		</TD>


</TR>
	
<TR >
		<TD WIDTH=120 ALIGN="center" VALIGN="top">
		Updated 97/06/24
		</TD>

		<TD WIDTH=20 >
		</TD>
		
		<TD WIDTH=5>
		</TD>

		<TD WIDTH=453  ALIGN="left" COLSPAN=2> 
		<FONT SIZE=+2><B>Try</B></FONT>
		<BR><HR>
<B>Try to execute the "instruction" instruction.</B>
<BR><BR>
- If it returns <B>'ok </B>then execute the "ok" instruction, or if there is no
"ok" instruction skip to the next instruction after the "try" instruction.
<BR>
- If it returns <B>'warning </B>then execute the "warning" instruction, or if
there is no "warning" instruction propagate the 'warning to the first
enclosing "try" instruction.
<BR>
- If it returns <B>'error </B>then execute the "error" instruction, or if there
is no "error" instruction propagate the 'error to the first enclosing "try"
instruction.
<BR>
- If it returns <B>'cancelled </B>then execute the "cancelled" instruction, or if
there is no "cancelled" instruction propagate the 'cancelled to the first
enclosing "try" instruction.
<BR><BR>
<I>Note: Since "try" is a reserved NewtonScript keyword, it should be
enclosed between "|"</I>.
<BR><BR>
Example of script fragment that sends an AT escape sequence (+++) to a
modem, waits one seconds for an OK answer, and continues execution even if
it doesn't receive the OK:
<PRE>
{
	toolSymbol: 'SendATEscape,
},
{
	toolSymbol: '|Try|,
	instruction: {
			toolSymbol: 'WaitForString,
			string: "OK" & unicodeCR & unicodeLF,
			timeout: 1000,
		},
	warning: 'ok,
},
// The following instructions will be executed even if a timeout has
// occured, because the timeout generates a 'warning which is handled
// by the "try" instruction and converted to a 'ok.
...
</PRE>

<B>* cancelled</B>
<BR>
<B>type:</B> instruction
<BR>
<B>default value:</B> nil
<BR><BR>

<B>* error</B>
<BR>
<B>type:</B> instruction
<BR>
<B>default value:</B> nil
<BR><BR>

<B>* instruction</B>
<BR>
<B>type:</B> instruction
<BR>
<B>default value:</B> nil
<BR><BR>

<B>* warning</B>
<BR>
<B>type:</B> instruction
<BR>
<B>default value:</B> nil

		</TD>

		
</TR>

<TR >
		<TD WIDTH=120 >
		</TD>

		<TD WIDTH=20 >
		</TD>
		
		<TD WIDTH=5>
		</TD>

		<TD WIDTH=453  COLSPAN=2>
		<IMG SRC="../pict/bbar.gif" WIDTH=453 HEIGHT=30 BORDER=0>
		</TD>


</TR>


<TR >
		<TD WIDTH=120 >
		</TD>

		<TD WIDTH=20 >
		</TD>
		
		<TD WIDTH=5>
		</TD>

		<TD WIDTH=453  COLSPAN=2>
		<IMG SRC="../pict/bar.gif" WIDTH=453 HEIGHT=30 BORDER=0>
		</TD>


</TR>

<TR >
		<TD WIDTH=120 >
		&copy;1997 Easter-eggs<BR>
		All trademarks mentioned are the property of their respective owners
		</TD>

		<TD WIDTH=20 >
		</TD>
		
		<TD WIDTH=5>
		</TD>
		
		<TD WIDTH=226  VALIGN="top">
		</TD>


		<TD WIDTH=227 ALIGN="right" VALIGN="top">
		</TD>
		


</TR>


</TABLE>

</BODY>

</HTML>